<?php
include_once("../modules/checkA.php");
include_once("../../config.php"); 
$plate=select_one_line_all_items($table_Prefix."plate","mid = 'exam'");
?>



<?
//用来判断当前系统属于什么板块
$system_part = $plate['mid'];
include_once("detail-list-function.php"); 
?>
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include ROOT_PATH_.'/controller/common/module/head.php'; ?>
    <?php include 'modules/head.php'; ?>
   
   <!--kindeditor编辑器-->
<!--    <link rel="stylesheet" href="../keditor/themes/default/default.css"/>-->
<!--    <script charset="utf-8" type="text/javascript" src="../keditor/kindeditor-min.js"></script>-->
<!--    <script charset="utf-8" src="../keditor/lang/zh_CN.js"></script>-->
<!--    <script>-->
<!--        var editor;-->
<!--        KindEditor.ready(function (K) {-->
<!--            editor = K.create('textarea[name="detail_detail"]', {-->
<!--                allowFileManager:true-->
<!--            });-->
<!---->
<!--        });-->
<!--    </script>-->
    <!--kindeditor编辑器-->
	
</head>

<body>

<div id="topbar"><?php include ROOT_PATH_.'/controller/common/module/topbar.php'; ?></div>

<div id="container" class="member">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_.'/controller/common/module/sidebar.php'; ?>
        </div>


<div id="content"> 




<div class="box member-add-box layui-form">
<h1>学员报名</h1>



<div class="tips">
    <div>1.请先生成学生报名资料，再开具收据。</div>
    <div>2.本页面支持使用身份证阅读器读取身份证信息。</div>
</div>


<form id="add-member-form" method="post" action="detail-add-function.php?nav-itemed=member" enctype="multipart/form-data" class="layui-form">

 

  <div class="layui-form-item">
    <label class="layui-form-label">姓名<span>*</span></label>
    <div class="layui-input-block">
      <input type="text" name="name"    lay-verify="required" placeholder="请输入名字" autocomplete="off" class="layui-input">
    </div>
  </div>
  
  
    <div class="layui-form-item">
    <label class="layui-form-label">身份证号<span>*</span></label>
    <div class="layui-input-block">
      <input type="text" name="idnumber" placeholder="请输入身份证号"   lay-verify="required" autocomplete="off" class="layui-input">
    </div>
  
   <div class="layui-form-item">
    <label class="layui-form-label">性别</label>
    <div class="layui-input-block">
      <input type="radio" name="sex" value="男" title="男">
      <input type="radio" name="sex" value="女" title="女" checked>
    </div>
  </div>
  
  
   <div class="layui-form-item">
    <label class="layui-form-label">电话<span>*</span></label>
    <div class="layui-input-block">
      <input type="text" name="phone" placeholder="请输入电话" lay-verify="required"  autocomplete="off" class="layui-input" >
    </div>
  </div>
 
 
    <div class="layui-form-item">
    <label class="layui-form-label">金额<span>*</span></label>
    <div class="layui-input-block">
        <input type="text" name="cost" placeholder="请输入金额" lay-verify="required"  autocomplete="off" class="layui-input" >
    </div>
  </div>

    <div class="layui-form-item">
    <label class="layui-form-label">地址</label>
    <div class="layui-input-block">
        <input type="text" name="address" placeholder="请输入地址" autocomplete="off" class="layui-input" >
    </div>
  </div>
  
  
  
<div class="layui-form-item">
    <label class="layui-form-label">收款状态<span>*</span></label>
    <div class="layui-input-block" >
      <input type="radio" name="status"  value="未收款" title="未收款" checked >
      <input type="radio" name="status"  value="已收款" title="已收款"  >
    </div>
</div>
  
  
 
 
  <div class="layui-form-item">
    <label class="layui-form-label">学驾车型<span>*</span></label>
    <div class="layui-input-block">
      <select name="license"  lay-verify="required" ><i class="layui-icon"></i>>
        <option value=""></option>
        <option value="A1">A1 : 大型客车 大型载客汽车</option>

        <option value="A2">A2 : 牵引车 重型、中型全挂、半挂汽车列车</option>

        <option value="A3">A3 : 城市公交车 核载10人以上的城市公共汽车</option>

        <option value="B1">B1 : 中型客车 中型载客汽车</option>

        <option value="B2">B2 : 大型货车 重型、中型载货汽车；大、重、中型专项作业车</option>

        <option value="C1">C1 : 小型汽车 小型、微型载客汽车以及轻型、微型载货汽车、轻、小、微型专项作业车</option>

        <option value="C2">C2 : 小型自动挡汽车 小型、微型自动挡载客汽车以及轻型、微型自动挡载货汽车</option>

        <option value="C3">C3 : 低速载货汽车 速载货汽车（原四轮农用运输车)</option>

        <option value="C4">C4 : 三轮汽车 三轮汽车（原三轮农用运输车</option>

        <option value="D">D : 普通三轮摩托车 发动机排量大于50ml或者最大设计车速大于50km/h的三轮摩托车</option>

        <option value="E">E : 普通二轮摩托车 发动机排量大于50ml或者最大设计车速大于50km/h的二轮摩托车</option>

        <option value="F">F : 轻便摩托车 发动机排量小于等于50ml，最大设计车速小于等于50km/h的摩托车</option>

        <option value="M">M : 轮式自行机械车 轮式自行机械车</option>

        <option value="N">N : 无轨电车 无轨电车</option>

        <option value="P">P : 有轨电车 有轨电车 无</option>



      </select>
    </div>
  </div>
  
  


<?  
	$agean_list=select_lines_all_items($table_Prefix."employee","nid desc","","0"); 
?>
  
  <div class="layui-form-item">
    <label class="layui-form-label">介绍人</label>
    <div class="layui-input-block">
      <select name="agentid" lay-search="">

          <option value=""></option>
  <? for($i=0;$i<count($agean_list);$i++){ ?>
          <option value="<? echo $agean_list[$i]['nid'] ?>"><? echo $agean_list[$i]['nid'] ?> : <? echo $agean_list[$i]['name'] ?></option>
  <? } ?>
      </select>
    </div>
  </div>





        <?
        $coach_list=select_lines_all_items($table_Prefix."employee","nid desc","coach='1'","0");
        ?>

        <div class="layui-form-item">
            <label class="layui-form-label">教练员</label>
            <div class="layui-input-block">
                <select name="coachid" lay-search="">

                    <option value=""></option>
                    <? for($i=0;$i<count($coach_list);$i++){ ?>
                        <option value="<? echo $coach_list[$i]['nid'] ?>"><? echo $coach_list[$i]['nid'] ?> : <? echo $coach_list[$i]['name'] ?></option>
                    <? } ?>
                </select>
            </div>
        </div>



  
<!-- 实际谁的帐号从属于哪里，就读取哪里-->
<!--   <div class="layui-form-item">-->
<!--    <label class="layui-form-label">网点</label>-->
<!--    <div class="layui-input-block">-->
<!--      <select name="department"-->
<!--        <option value=""></option>-->
<!--        <option value="--><?// echo $_SESSION['department'] ?><!--">--><?// echo $_SESSION['department'] ?><!--</option>-->
<!--        --><?//
//        $department_list=select_lines_all_items($table_Prefix."department","nid desc","tag = '报名点'","0");
//        ?>
<!--        --><?// for($i=0;$i<count($department_list);$i++){ ?>
<!--            <option value="--><?// echo $department_list[$i]['nid'] ?><!--">--><?// echo $department_list[$i]['name'] ?><!-- </option>-->
<!--        --><?// } ?>
<!---->
<!--      </select>-->
<!--    </div>-->
<!--  </div>-->

  
    <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">备注</label>
    <div class="layui-input-block">
      <textarea name="remark" placeholder="备注" class="layui-textarea"></textarea>
    </div>
  </div>
  
  
  
  
 
 
 
 


  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>
 


 
 
        </div>
		
 
 
<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>








<?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?> </body>
</html>
